<link rel="stylesheet" href="../css/reset.css"/>
<link rel="stylesheet" href="../css/address.css"/>
<div class="myaddress" ng-controller="addressCtrl">
	
    <div>
        <span>地址管理</span><a href="#/addarea" class="r">添加新地址</a>
    </div>
    <div class="add1">
        <ul class="clearfix">
            <li>收货人</li>
            <li>所在区域</li>
            <li>街道地址</li>
            <li>联系电话</li>
            <li>备注</li>
            <li>操作</li>
        </ul>
        
        
        <ul class="perarea clearfix">
            <li ng-repeat="item in a">
                    <div>{{item.name}}</div>
                    <div>{{item.area}}</div>
                    <div>{{item.detail}}</div>
                    <div>{{item.phone}}</div>
                    <div>家里的地址</div>
                    <div>
                        <span>设为默认地址</span>
                        <span ng-click='amend()'>修改</span>
                        <span ng-click='del()' class="del">删除</span>
                    </divs>
            </li>
            
        </ul>
        
        <div class="address">
			<div class="add" ng-controller="addareactrl">
				<div>
					<p>修改地址</p>
				</div>
				<ul>
					<li class="clearfix">
						<span class="l">*</span><span class="l">收货人姓名:</span>
						<div class=" l"><input class="firstname" type="text"></div>
					</li>
					<li class="clearfix">
						<span class="l">*</span>
						<span class="l">所在地区:</span>
						<div class="area1 l">
							<div class="privincehead">请选择</div>
							<ul class="privince"></ul>
							<img src="../img/downtrigle.png" alt="">
						</div>
						<div class="area2 l">
							<div class="cityhead">请选择</div>
							<ul class="city"></ul>
							<img src="../img/downtrigle.png" alt="">
						</div>
						<div class="area3 l">
							<div class="countryhead">请选择</div>
							<ul class="country"></ul>
							<img src="../img/downtrigle.png" alt="">
						</div>
					</li>
					<li class="clearfix">
						<span class="l">*</span><span class="l">详细地址:</span>
						<div class="l"><input class="add_a" type="text"></div>
					</li>
					<li class="clearfix">
						<span class="l">*</span><span class="l">联系电话:</span>
						<div class="l"><input class="add_ph" type="text"></div><span class="l">或固定电话:</span>
						<div class="l"><input class="fix_first" type="text"></div><span class="l">-</span>
						<div class="l"><input class="fix_last" type="text"></div>
					</li>
				</ul>
				<span></span><span>设置为常用地址</span>
				<div class="save">保存</div>
			</div>

		</div>
    </div>
</div>